package org.naigu.peach.dal.dao;

import org.naigu.peach.dal.dataobject.ReplyDO;
import guda.grape.autogen.common.page.BaseQuery;
import java.util.List;

public interface ReplyDAO {


    Long insert(ReplyDO reply);


    ReplyDO getReplyById(Long replyId);


    boolean delReplyById(Long replyId);

    List<ReplyDO> getReplyByIds(List idsList);

    /**
     * 清空测试用例加入的autoincrement
     */
    void cleanAutoIncrement(Long replyId);

    List<ReplyDO> selectForPage(BaseQuery baseQuery);

    int countForPage(BaseQuery baseQuery);

    void updateByIdSelective(ReplyDO reply);

}
